
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html"/>
    <xsl:template match="/">
        <xsl:apply-templates/>
    </xsl:template>
    <xsl:template match="OrderList">
        <table class="tblCheckout order">
            <thead>
                <tr>
                    <th>No</th>
                    <th>Order ID</th>
                    <th>Order Time</th>
                </tr>
            </thead>
            <tbody class="tblItems">
                <xsl:for-each select="orders">
                    <tr>
                        <td>
                            <xsl:number/>
                        </td>
                        <td>
                            <a class="aOrderId" href="http://localhost:8084/xml-bookstore/OrderController"><xsl:value-of select="orderId"/></a>
                        </td>
                        <td>
                            <xsl:value-of select="orderTime"/>
                        </td>
                    </tr>
                </xsl:for-each>

            </tbody>
        </table>
    </xsl:template>
</xsl:stylesheet>